<?php
/* @var $this SelisteController */
/* @var $model Seliste */
?>

<div class="container">
	<div class="row">
		<div class="col-lg-12">		
			<div class="page-header">	
				<h1>Détails du séliste n°<?php echo $model->id; ?></h1>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="col-lg-12">
			<?php $this->renderPartial('_view',array(
						'model'=>$model
			)); ?>
			
			<br />
			<div class="form-group">
				<div class="col-lg-12">
					<?php 
					if (Yii::app()->user->admin) {
						echo CHtml::link("<span class=\"glyphicon glyphicon-arrow-left\"></span> Retour à la liste",array('seliste/admin'),array('class'=>"btn btn-sm btn-info"));
					} else {
						echo CHtml::link("<span class=\"glyphicon glyphicon-arrow-left\"></span> Retour à la liste",array('seliste/liste'),array('class'=>"btn btn-sm btn-info"));
					}
					?>
				</div>
			</div>
		</div>
	</div>
</div>